#include <stdio.h>

int total(void);

int main(void)
{
	int sum;

	sum = total( );
	printf("sum = %d\n", sum);

	return 0;
}

int total(void)
{
	int i, s = 0;

	for (i = 1; i <= 10; i++)
		s += i;

	return s;
}